package cn.tedu.eg_user.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Pattern;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ToString
@Setter
@Getter
public class UserAddParam {
//    @Pattern(regexp = "^[\\u4e00-\\u9fa5A-Za-z0-9_]{4,16}$", message = "用户名4-16位，汉字≤8，可混用")
    @Schema(description = "用户姓名",required= true)
    private String username;
    @Schema(description = "用户密码",required= true)
    private String password;
    @Schema(description = "用户昵称",required= true)
    private String nickname;



}
